package game.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import common.model.po.GRecipeItem;
import game.mapper.GRecipeItemMapper;
import game.model.dto.RecipeItemDto;
import game.service.GRecipeItemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 描述
 *
 * @author 米泽鹏
 * @since 2023-12-25 下午 4:09
 */
@Service
public class GRecipeItemServiceImpl extends ServiceImpl<GRecipeItemMapper, GRecipeItem> implements GRecipeItemService {

	@Resource
	private GRecipeItemMapper mapper;

	@Override
	public List<RecipeItemDto> getAllRecipeItemInfoByRecipeId(Long recipeId) {
		return mapper.getAllRecipeItemInfoByRecipeId(recipeId);
	}

}
